package com.teamall.web.xxgl.db.dao.mapper;

import com.teamall.web.xxgl.db.arg.AidReportDataArg;
import com.teamall.web.xxgl.db.po.AidReportDataPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IAidReportDataMapper {
    
    List<Integer> countByArg(AidReportDataArg arg);

    List<AidReportDataPO> selectByArg(AidReportDataArg arg);

    AidReportDataPO selectByPrimaryKey(Integer id);

    List<AidReportDataPO> selectByArgAndPage(AidReportDataArg arg, RowBounds rowBound);

    int insert(AidReportDataPO record);

    int insertSelective(AidReportDataPO record);

    int insertBatch(@Param("list") List<AidReportDataPO> records);

    int updateByArgSelective(@Param("record") AidReportDataPO record,
            @Param("arg") AidReportDataArg arg);

    int updateByArg(@Param("record") AidReportDataPO record,
            @Param("arg") AidReportDataArg arg);

    int updateByPrimaryKeySelective(AidReportDataPO record);

    int updateByPrimaryKey(AidReportDataPO record);
    
    int deleteByArg(AidReportDataArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}